package net.zoneland.zrdp.biz.enums;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import net.zoneland.zrdp.common.enums.BaseEnum;

/**
 * 获取流程审批人状态.
 * @version v1.0
 */
@Getter
@AllArgsConstructor
public enum RollbackEnum implements BaseEnum<Integer> {

    REJECT_NODE(1, "退回节点"),
    SPLIT_REJECT_NODE(2, "拆分合并使用的回退节点"),
    NEXT_NODE(3, "下一节点"),
    LEADER_USER_INFO(4, "正职信息"),
    SECOND_LEADERS_USER_INFO(5, "副职信息"),
    ALL_LEADERS_USER_INFO(6, "领导信息"),
    ;

    /** 枚举值. **/
    @JsonValue
    private final Integer value;
    /** 枚举名称. **/
    private final String name;
}
